package com.example.administrator.myjdlc.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;

/**
 * Created by Administrator on 2017/4/16.
 */

public abstract class BaseActivity extends FragmentActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initBaseData();
        initView();
        initData();
        initListener();
    }

    public abstract void initBaseData();

    public abstract void initView();

    public abstract void initData();

    public abstract void initListener();
}
